package LogBook;

import LogBook.Frequency;
import LogBook.RST;
import LogBook.Time;
import android.database.Cursor;

public class QSO {
	private String CallSign;
	private Frequency frequency;
	private String mode;
	private RST rst;
	private Time time;

	public QSO() {
		this("", 0, "", "", 0);
	}

	public QSO(String CallSign, int frequency, String mode, String rst, int time) {
		this.CallSign = CallSign;
		this.frequency = new Frequency(frequency);
		this.mode = mode;
		this.rst = new RST(rst);
		this.time = new Time(time);
	}
	
	public QSO(Cursor qso){
		
		
	}
	
	public String getCallSign(){
		return this.CallSign;
	}
	
	public double getFrequency(){
		return this.frequency.getFrequency();
	}
	
	public String getMode(){
		return this.mode;
	}
	
	public String getRST(){
		return this.rst.getRST();
	}
	
	public String getRST(String flag){
		return this.rst.getRST(flag);
	}
	
	public Time getTime(){
		return this.time;
	}
}
